package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.dto.FlowTaskDTO;
import com.ruoyi.entity.ActHiProcinst;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * 参数配置 数据层
 */
@Repository
public interface ActHiProcinstMapper extends BaseMapper<ActHiProcinst>
{

    List<FlowTaskDTO> getMyProcess(@Param("usersId") String usersId, @Param("name") String name);

    List<FlowTaskDTO> getTodoList(@Param("p") Map param);

    FlowTaskDTO getByBusinessKey(@Param("key") String key);

    FlowTaskDTO getByProcInsId(@Param("procInsId") String procInsId);


    List<FlowTaskDTO> finishedList(@Param("p") Map param);
}
